package com.qf.commerce.mapper;

import com.qf.commerce.entity.ReturnReason;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReturnReasonMapper {
    //展示退货信息表
    List<ReturnReason> selectAll();
    //批量删除
    int deleteById(@Param("returnReasonId") List<Long> returnReasonId);
    //修改
    int updateById(@Param("returnReason") ReturnReason returnReason);
    //添加
    int insertReturnReason(@Param("returnReason") ReturnReason returnReason);
}
